for a in range(1, 10):
    for b in range(1, a + 1):
        print(b, "x", a, "=", a * b, end="\t")
    print()
